#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time : 2021/4/1 22:48
# @Author : 张镇弘
# @Site :
# @File : ocr.py
# @Software: PyCharm

from tools.preprocess import InputImg
from tools.cut_pic import Cut
from tools.ocr import OcrImg

if __name__ == '__main__':

    path = './images/zsx2.jpg'
    img = InputImg(path)
    size = [1200,820]
    pic_list = Cut(img,size)
    OcrImg(pic_list)